package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description 课程等级非法异常
 * @author 勾新杰
 * @version 1.0
 * @date 2024/12/21 19:51
 */
public class CourseGradeIllegalException extends XCPlusBaseException {

    CourseGradeIllegalException(){
        super(ContentError.COURSE_GRADE_ILLEGAL.getErrMessage());
    }

    public static void cast(){
        throw new CourseGradeIllegalException();
    }
}
